package com.aibaixun.system.mapper;

import com.aibaixun.common.core.domain.R;
import com.aibaixun.system.domain.WorkOrderAlarm;
import com.aibaixun.system.domain.dto.WorkOrderAlarmDto;
import com.aibaixun.system.domain.dto.WorkOrderAlarmPageDto;
import com.aibaixun.system.domain.vo.*;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author zhangyh
* @description 针对表【work_order_alarm(工单告警信息表)】的数据库操作Mapper
* @createDate 2023-09-26 15:53:06
* @Entity com.aibaixun.system.domain.WorkOrderAlarm
*/
public interface WorkOrderAlarmMapper extends BaseMapper<WorkOrderAlarm> {

    Page<WorkOrderAlarmAllVo> getPage(Page page, @Param(value = "pageDto") WorkOrderAlarmPageDto pageDto);

    WorkOrderAlarmStatisticsCountVo getCountStatisticsType( @Param(value = "dto") WorkOrderAlarmDto dto);

    List<WorkOrderAlarmStatisticsAddressCountVo> getCountStatisticsAddress(@Param(value = "dto") WorkOrderAlarmDto dto);

    List<WorkOrderAlarmStatisticsTrentCountVo> getCountStatisticsTrend(@Param(value = "dto") WorkOrderAlarmDto dto);

    List<WorkOrderAlarmAllVo> getList(@Param(value = "pageDto") WorkOrderAlarmDto dto);

    List<WorkOrderAlarmDeviceVo> getOrderAlarmDevice(@Param(value = "dto") WorkOrderAlarmDto dto);

    WorkOrderAlarmAllVo getOrderAlarmDetail(@Param(value = "dto") WorkOrderAlarmDto dto);
}




